package com.zhang.apipassenger.remote;

import com.zhang.internalcommon.dto.ResponseResult;
import com.zhang.internalcommon.response.NumberCodeResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author ADMIN
 */
@FeignClient("service-verificationcode")
public interface ServiceVerificationCodeClient {
	@GetMapping("/numberCode/{size}")
	ResponseResult<NumberCodeResponse> getNumberCode(@PathVariable("size") int size);
}